﻿using EachRecord.Common.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EachRecord.Models
{
    public class UserModel
    {
        public int UserId { get; set; }
        [ModelProperty(2,4,false)]
        public string UserName { get; set; }
        [ModelProperty(6,12)]
        public string Password { get; set; }
        [ModelProperty(1)]
        public string Sex { get; set; }
        public int Age { get; set; } 
    }
}
